Part Number Hot Search : 
16PC30GF ZXTN20 ACTQ973 ADL53 14260C 2SC461 P2G473K M52005P
Product Description
Full Text Search
 

To Download DS1338U-33 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 16 rev: 010307 general description the ds1338 serial real-time clock (rtc) is a low- power, full binary-coded decimal (bcd) clock/calendar plus 56 bytes of nv sram. address and data are transferred serially through an i 2 c interface. the clock/cal endar provides seconds, minutes, hours, day, date, month, and year information. the end of the month date is automatically adjusted for m onths with fewer than 31 days, including corrections for leap year. the clock operates in either the 24-hour or 12-hour format with am/pm indicator. the ds1338 has a built-in power- sense circuit that detects power failures and automatically switches to the backup supply, maintaining time and date operation applications handhelds (gps, pos terminal) consumer electronics (set-top box, digital recording, network appliance) office equipment (fax/printer, copier) medical (glucometer, medicine dispenser) telecommunications (router, switcher, server) other (utility meter, vending machine, thermostat, modem) typical operating circuit features rtc counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid up to 2100 available in a surface-mount package with an integrated crystal (ds1338c) 56-byte battery-backed nv ram for data storage i 2 c serial interface programmable square-wave output signal automatic power-fail detect and switch circuitry -40 c to +85 c operating temperature range underwriters laboratory (ul) recognized ordering information part temp range pin-package top mark ? ds1338z-18 -40c to +85c 8 so (0.150 ) ds1338-18 ds1338z-18+ -40c to +85c 8 so (0.150 ) ds1338-18 ds1338z-3 -40c to +85c 8 so (0.150 ) ds1338-3 ds1338z-3+ -40c to +85c 8 so (0.150 ) ds1338-3 ds1338z-33 -40c to +85c 8 so (0.150 ) ds133833 ds1338z-33+ -40c to +85c 8 so (0.150 ) ds133833 ds1338u-18 -40c to +85c 8 sop 1338 rr-18 ds1338u-18+ -40c to +85c 8 sop 1338 rr-18 ds1338u-3 -40c to +85c 8 sop 1338 rr-3 ds1338u-3+ -40c to +85c 8 sop 1338 rr-3 DS1338U-33 -40c to +85c 8 sop 1338 rr-33 DS1338U-33+ -40c to +85c 8 sop 1338 rr-33 ds1338c-18 -40c to +85c 16 so (0.300 ) ds1338c-18 ds1338c-18# -40c to +85c 16 so (0.300 ) ds1338c-18 ds1338c-3 -40c to +85c 16 so (0.300 ) ds1338c-3 ds1338c-3# -40c to +85c 16 so (0.300 ) ds1338c-3 ds1338c-33 -40c to +85c 16 so (0.300 ) ds1338c-33 ds1338c-33# -40c to +85c 16 so (0.300 ) ds1338c-33 rr = second line, revision level + denotes a lead-free/rohs-compliant device. # denotes a rohs-compliant device that may include lead that is exempt under the rohs requirem ents. the lead finish is jesd97 category e3, and is compatible with both lead-based and lead-free soldering processes. ? a ?+? anywhere on the top mark denotes a lead-free device. a ?#? denotes a rohs-compliant device. ds1338 i 2 c rtc with 56-byte nv ram www.maxim-ic.com pin configurations appear at end of data sheet. ds1338 cpu v cc v cc v cc sda scl gnd x2 x1 v cc r pu r pu crystal sqw/out v bat i r pu = t r /c b
ds1338 i 2 c rtc with 56-byte nv ram 2 of 16 absolute maximum ratings voltage range on any pin relative to ground?????????????????????..??..-0.3v to +6.0v operating temperature range????????????????????????????..??-40c to +85c storage temperature range??????????????????????????????...-55c to +125c soldering temperature ?????..... see precautions in the handling, pc board layout, and assembly section. stresses beyond those listed under ?absolute maximum ratings? may cause permanent damage to the device. these are stress rating s only, and functional operation of the device at these or any other conditions beyond those i ndicated in the operational sections of t he specifications is not implied. exposure to the absolute maximum rating condi tions for extended periods may affect device reliability. recommended dc op erating conditions (v cc = v cc(min) to v cc(max) , t a = -40c to +85c, unless otherwise noted. typical values are at v cc = 3.3v, t a = +25c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units ds1338-18 1.71 1.8 1.89 ds1338-3 2.7 3.0 3.3 supply voltage v cc ds1338-33 3.0 3.3 5.5 v logic 1 v ih (note 2) 0.7 x v cc v cc + 0.3 v logic 0 v il (note 2) -0.3 +0.3 x v cc v pullup resistor voltage (sqw/out) v pu (note 2) 5.5 v ds1338-18 1.51 1.62 1.71 ds1338-3 2.45 2.59 2.70 power-fail voltage v pf ds1338-33 2.70 2.82 2.97 v v bat input voltage v bat (note 2) 1.3 3.0 3.7 v dc electrical characteristics (v cc = v cc(min) to v cc(max) , t a = -40c to +85c, unless otherwise noted. typical values are at v cc = 3.3v, t a = +25c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units input leakage i li (note 3) 1 a i/o leakage i lo (note 4) 1 a v cc > 2v; v ol = 0.4v 3.0 sda logic 0 output i olsda v cc < 2v; v ol = 0.2 x v cc 3.0 ma v cc > 2v; v ol = 0.4v 3.0 1.71v < v cc < 2v; v ol = 0.2 v cc 3.0 ma sqw/out logic 0 output i olsqw 1.3v < v cc < 1.71v; v ol = 0.2 v cc 250 a ds1338-18 75 150 ds1338-3 110 200 v cc 3.63v 120 200 active supply current (note 5) i cca ds1338-33 3.63v < v cc 5.5v 325 a ds1338-18 60 100 ds1338-3 80 125 v cc 3.63v 85 125 standby current (note 6) i ccs ds1338-33 3.63v < v cc 5.5v 200 a v bat leakage current (v cc active) i batlkg 25 100 na
ds1338 i 2 c rtc with 56-byte nv ram 3 of 16 dc electrical characteristics ( v cc = 0v, t a = -40c to +85c , unless otherwise noted. typical values are at v bat = 3.0v, t a = +25c, unless otherwise noted.) (note 1) parameter symbol min typ max units v bat current (osc on); v bat = 3.7v, sqw/out off (note 7) i batosc1 800 1200 na v bat current (osc on); v bat = 3.7v, sqw/out on (32khz) (note 7) i batosc2 1025 1400 na v bat data-retention current (osc off); v bat = 3.7v (note 7) i batdat 10 100 na ac electrical characteristics (v cc = v cc(min) to v cc(max) , t a = -40c to +85c) (note 1) parameter symbol condition min typ max units fast mode 100 400 scl clock frequency f scl standard mode 0 100 khz fast mode 1.3 bus free time between stop and start condition t buf standard mode 4.7 s fast mode 0.6 hold time (repeated) start condition (note 8) t hd:sta standard mode 4.0 s fast mode 1.3 low period of scl clock t low standard mode 4.7 s fast mode 0.6 high period of scl clock t high standard mode 4.0 s fast mode 0.6 setup time for repeated start condition t su:sta standard mode 4.7 s fast mode 0 0.9 data hold time (notes 9, 10) t hd:dat standard mode 0 s fast mode 100 data setup time (note 11) t su:dat standard mode 250 ns fast mode 20 + 0.1c b 300 rise time of both sda and scl signals (note 12) t r standard mode 20 + 0.1c b 1000 ns fast mode 20 + 0.1c b 300 fall time of both sda and scl signals (note 12) t f standard mode 20 + 0.1c b 300 ns fast mode 0.6 setup time for stop condition t su:sto standard mode 4.0 s capacitive load for each bus line c b (note 12) 400 pf i/o capacitance (sda, scl) c i/o (note 13) 10 pf oscillator stop flag (osf) delay t osf (note 14) 100 ms
ds1338 i 2 c rtc with 56-byte nv ram 4 of 16 power-up/power-down characteristics (t a = -40c to +85c) (note 1, figure 1) parameter symbol min typ max units recovery at power-up (note 15) t rec 2 ms v cc fall time; v pf(max) to v pf(min) t vccf 300 s v cc rise time; v pf(min) to v pf(max) t vccr 0 s warning: negative undershoots below -0.3v while the part is in battery-backed mode may cause loss of data. note 1: limits at -40c are guaranteed by design and not production tested. note 2: all voltages are referenced to ground. note 3: scl only. note 4: sda and sqw/out. note 5: i cca ?scl clocking at max frequency = 400khz. note 6: specified with the i 2 c bus inactive. note 7: measured with a 32.768khz crystal attached to x1 and x2. note 8: after this period, the first clock pulse is generated. note 9: a device must internally provide a hold time of at least 300ns for the sda signal (referred to the v ih(min) of the scl signal) to bridge the undefined region of the falling edge of scl. note 10: the maximum t hd:dat need only be met if the device does not stretch the low period (t low ) of the scl signal. note 11: a fast-mode device can be used in a standard-mode system, but the requirement t su:dat to 250ns must then be met. this is automatically the case if the device does not stretch the low pe riod of the scl signal. if such a device does stretch the low period of the scl signal, it must output the next data bit to the sda line t r(max) + t su:dat = 1000 + 250 = 1250ns before the scl line is released. note 12: c b ?total capacitance of one bus line in pf. note 13: guaranteed by design. not production tested. note 14: the parameter t osf is the time period the oscillator must be stopped for the osf flag to be set over the voltage range of 0.0v v cc v cc(max) and 1.3v v bat 3.7v. note 15: this delay applies only if the oscillator is enabled and running. if the oscillator is disabled or stopped, no power-up delay o ccurs. figure 1. power-up/power-down timing outputs v cc v pf(max) v pf(min) inputs high-z don't care valid recognized recognized valid t vccf t vccr t rec
ds1338 i 2 c rtc with 56-byte nv ram 5 of 16 figure 2. timing diagram figure 3. block diagram figure 3. block diagram ram (56 x 8) serial bus interface a nd address register control logic 1hz 1hz/4.096khz/8.192khz/32.768khz mux/ buffer user buffer (7 bytes) clock, calendar, a nd control registers "c" version only power control dallas semiconductor ds1338 x1 c l c l x2 sda scl sqw/out v cc gnd v bat oscillator and divider
ds1338 i 2 c rtc with 56-byte nv ram 6 of 16 typical operating characteristics i bat vs. v bat 550 600 650 700 750 800 850 900 950 1000 1050 1100 1150 1200 1250 1.3 1.8 2.3 2.8 3.3 3.8 4.3 4.8 5.3 v bat (v) supply current (na ) v cc =0v rs1=rs0=1 i batosc2 ( sqwe = 1) i batosc 1 (sqwe = 0) i bat vs. temperature v bat = 3.0v 600 650 700 750 800 850 900 950 1000 -40-200 20406080 temperature (c) supply current (na ) v cc =0v sqwe=1 sqwe=0 i cc vs. v cc 50 75 100 125 150 175 200 225 250 1.8 2.3 2.8 3.3 3.8 4.3 4.8 5.3 v cc (v) supply current (ua ) scl=400khz scl=sda=0hz oscillator frequency vs. supply voltage 32767.9 32768.0 32768.1 32768.2 32768.3 32768.4 32768.5 1.3 1.8 2.3 2.8 3.3 3.8 4.3 4.8 oscillator supply voltage (v) frequency (hz) v cc =0v
ds1338 i 2 c rtc with 56-byte nv ram 7 of 16 pin description pin 8 16 name function 1 ? x1 2 ? x2 32.768khz crystal connections. the internal oscillator circuitry is designed for operation with a crystal having a specified load capacitance (c l ) of 12.5pf. an external 32.768khz oscillator can also dr ive the ds1338. in th is configuration, the x1 pin is connected to the external oscillator signal and the x2 pin is floated. note: for more information about crystal sele ction and crystal layout considerations, refer to application note 58: crystal considerations with dallas real-time clocks . 3 14 v bat backup supply input for lithium cell or other energy source. battery voltage must be held between the minimum and maximum limits for proper operation. diodes placed in series between the backup source and the v bat pin may prevent proper operation. if a backup supply is not required, v bat must be grounded. ul recognized to ensure against reverse charging when used with a lithium cell. for more information, visit www.maxim-ic.com/qa/info/ul . 4 15 gnd ground. dc power is provided to the device on these pins. v cc is the primary power input. when voltage is applied within normal limits, the device is fully accessible and data can be writt en and read. when a backup supply is connected to the device and v cc is below v pf , reads and writes are inhibited. however, the timekeeping function cont inues unaffected by the lower input voltage. 5 16 sda serial data. input/output pin for the i 2 c serial interface. it is open drain and requires an external pullup resistor. 6 1 scl serial clock. used to synchronize data movement on the serial interface 7 2 sqw/out square-wave/output driver. when enabl ed and the sqwe bit set to 1, the sqw/out pin outputs one of four square -wave frequencies (1hz, 4khz, 8khz, 32khz). it is open drain and requires an external pullup resistor. operates with either v cc or v bat applied. 8 3 v cc primary power supply. when voltage is appl ied within normal limits, the device is fully accessible and data can be written and read. when a backup supply is connected to the device and v cc is below v pf , reads and writes are inhibited. the backup supply maintains the timekeeping function while v cc is absent. ? 4?13 n.c. no connection. these pins are not conn ected internally, but must be grounded for proper operation. detailed description the ds1338 serial rtc is a low-power, full bcd clock/calendar plus 56 by tes of nv sram. address and data are transferred serially through an i 2 c interface. the clock/calendar provid es seconds, minutes, hours, day, date, month, and year information. the end of the month date is automatically adj usted for months with fewer than 31 days, including corrections for leap year . the clock operates in either the 24 -hour or 12-hour format with am/pm indicator. the ds1338 has a built-in power-sense circuit that detects power failures and automatically switches to the v bat supply.
ds1338 i 2 c rtc with 56-byte nv ram 8 of 16 operation the ds1338 operates as a slave device on the serial bus. ac cess is obtained by implementing a start condition and providing a device identification code, followed by dat a. subsequent registers can be accessed sequentially until a stop condition is executed. the device is fully accessible and data can be written and read when v cc is greater than v pf . however, when v cc falls below v pf , the internal clock registers are blocked from any access. if v pf is less than v bat , the device power is switched from v cc to v bat when v cc drops below v pf . if v pf is greater than v bat , the device power is switched from v cc to v bat when v cc drops below v bat . the oscillator and timekeeping functions are maintained from the v bat source until v cc is returned to nominal levels. the block diagram (figure 3) shows the main elements of the ds1338. an enable bit in the seconds register controls the oscillator. oscillator st artup times are highly dependent upon crystal characteristics, pc board le akage, and layout. high esr and excessive capacitive loads are the major contributors to long start-up times. a circuit using a crysta l with the recommended characteristics and proper layout usually starts within 1 second. power control the power-control function is provided by a precise, temperature-compensated voltage reference and a comparator circuit that monitors the v cc level. the device is fully accessibl e and data can be written and read when v cc is greater than v pf . however, when v cc falls below v pf , the internal clock registers are blocked from any access. if v pf is less than v bat , the device power is switched from v cc to v bat when v cc drops below v pf . if v pf is greater than v bat , the device power is switched from v cc to v bat when v cc drops below v bat . the registers are maintained from the v bat source until v cc is returned to nominal levels ( table 1 ). after v cc returns above v pf , read and write access is allowed after t rec ( figure 1 ). table 1. power control supply condition read/write access powered by v cc < v pf , v cc < v bat no v bat v cc < v pf , v cc > v bat no v cc v cc > v pf , v cc < v bat yes v cc v cc > v pf , v cc > v bat yes v cc oscillator circuit the ds1338 uses an external 32.768khz crystal. the oscillat or circuit does not require any external resistors or capacitors to operate. table 2 specifies several crystal parameters for the external crystal. figure 3 shows a functional schematic of the oscillator circuit. the startup time is usually less than 1 second when using a crystal with the specified characteristics. table 2. crystal specifications * parameter symbol min typ max units nominal frequency f o 32.768 khz series resistance esr 50 k load capacitance c l 12.5 pf *the crystal, traces, and crystal input pins should be isolated from rf generating signals. refer to application note 58: crystal considerations for dallas real-time clocks for additional s pecifications.
ds1338 i 2 c rtc with 56-byte nv ram 9 of 16 clock accuracy the accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match between the capacitive load of the oscillator circuit and the capa citive load for which the crystal was trimmed. crystal frequency drift caused by temperature shifts creates additi onal error. external circuit noise coupled into the oscillator circuit can result in the clock running fast. figure 4 shows a typical pc board layout for isolating the crystal and oscillator from noise. refer to application note 58: crystal considerat ions with dallas real-time clocks for detailed information. ds1338c only the ds1338c integrates a standard 32,768hz crystal in the package. typical accuracy at nominal v cc and +25c is approximately 10ppm. refer to application note 58 for information about crystal accuracy vs. temperature. figure 4. typical pc bo ard layout for crystal local ground plane (layer 2) crystal x1 x2 gnd note: a void routing signals in the crosshatched area (upper left-hand quadrant) of the package unless there is a ground plane between the signal line and the package. rtc and ram address map table 3 shows the address map for the rtc and ram registers. the rtc registers and control register are located in address locations 00h to 07h. the ram registers are loca ted in address locations 08h to 3fh. during a multibyte access, when the register pointer reaches 3fh (the end of ram space) it wraps around to location 00h (the beginning of the clock space). on an i 2 c start, stop, or register pointer incrementing to location 00h, the current time and date is transferred to a second set of regi sters. the time and date in the secondary registers are read in a multibyte data transfer, while the clock continues to run. this eliminates the need to re-read the registers in case of an update of the main registers during a read. clock and calendar the time and calendar information is obtained by reading the appropriate register bytes. see figure 6 for the rtc registers. the time and calendar are set or initialized by writing the appropriate register bytes. the contents of the time and calendar registers are in the bcd format. bit 7 of r egister 0 is the clock halt (ch) bit. when this bit is set to 1, the oscillator is disabled. when cleared to 0, th e oscillator is enabled. the clock can be halted whenever the timekeeping functions are not required, which decreases v bat current. the day-of-week register increments at midnight. values that correspond to the day of week are user-defined but must be sequential (i.e., if 1 equals sunday, then 2 equal s monday, and so on). illogical time and date entries result in undefined operation. when reading or writing the time and date registers, seco ndary (user) buffers are used to prevent errors when the internal registers update. when reading the time and dat e registers, the user buffers are synchronized to the internal registers on any start or stop and when the register pointer rolls over to zero. the countdown chain is reset
ds1338 i 2 c rtc with 56-byte nv ram 10 of 16 whenever the seconds register is written. write transf ers occur on the acknowledge from the ds1338. once the countdown chain is reset, to avoid rollover issues the re maining time and date registers must be written within 1 second. the 1hz square-wave output, if enabled, trans itions high 500ms after the seconds data transfer, provided the oscillator is already running. note that the initial power-on state of all registers, unless otherwise specified, is not defined. therefore, it is important to enable the oscillator (ch = 0) during initial configuration. the ds1338 runs in either 12-hour or 24-hour mode. bit 6 of the hours register is defi ned as the 12-hour or 24-hour mode-select bit. when high, the 12-hour mode is selected. in the 12-hour mode, bit 5 is the am /pm bit, with logic high being pm. in the 24-hour mode, bit 5 is t he second 10-hour bit (20?23 hours). if the 12/ 24 -hour mode select is changed, the hours regist er must be re-initialized to the new format. on an i 2 c start, the current time is transferred to a second set of registers. the time information is read from these secondary registers, while the cl ock continues to run. this eliminates the need to re-read the registers in case of an update of the main registers during a read. table 3. rtc and ram address map address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 function range 00h ch 10 seconds seconds seconds 00?59 01h 0 10 minutes minutes minutes 00?59 am /pm 02h 0 12/ 24 10 hour 10 hour hour hours 1?12 +am/pm 00?23 03h 0 0 0 0 0 day day 1?7 04h 0 0 10 date date date 01?31 05h 0 0 0 10 month month month 01?12 06h 10 year year year 00?99 07h out 0 osf sqwe 0 0 rs1 rs0 control 08h?3fh ram 56 x 8 00h?ffh note: bits listed as ?0? always read as a 0.
ds1338 i 2 c rtc with 56-byte nv ram 11 of 16 control register (07h) the control register controls the operation of t he sqw/out pin and provides oscillator status. bit # bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 name out 0 osf sqwe 0 0 rs1 rs0 por 1 0 1 1 0 0 1 1 bit 7: output control (out). controls the output level of the sqw/ out pin when the square-wave output is disabled. if sqwe = 0, the logic level on the sqw/ out pin is 1 if out = 1; it is 0 if out = 0. bit 5: oscillator stop flag (osf). a logic 1 in this bit indicates that the oscillator has stopped or was stopped for some time period and can be used to judge the validity of the clock and calendar data. this bit is edge triggered, and is set to logic 1 when the internal circuitry senses the oscillator has transitioned from a normal run state to a stop condition. the following are examples of co nditions that may cause the osf bit to be set: 1) the first time power is applied. 2) the voltage present on v cc and v bat are insufficient to support oscillation. 3) the ch bit is set to 1, disabling the oscillator. 4) external influences on the crystal (i.e., noise, leakage, etc.). this bit remains at logic 1 until written to logic 0. this bi t can only be written to logic 0. attempting to write osf to logic 1 leaves the value unchanged. bit 4: square-wave enable (sqwe). when set to logic 1, this bit enables the oscillator output to operate with either v cc or v bat applied. the frequency of the square-wave out put depends upon the value of the rs0 and rs1 bits. bits 1 and 0: rate select (rs1 and rs0). these bits control the frequency of the square-wave output when the square-wave output has been enabled. the table below lis ts the square-wave frequencies that can be selected with the rs bits. square-wave output out rs1 rs0 sqw output sqwe x 0 0 1hz 1 x 0 1 4.096khz 1 x 1 0 8.192khz 1 x 1 1 32.768khz 1 0 x x 0 0 1 x x 1 0
ds1338 i 2 c rtc with 56-byte nv ram 12 of 16 i 2 c serial data bus the ds1338 supports the i 2 c protocol. a device that sends data onto th e bus is defined as a transmitter and a device receiving data is a receiver. the device that controls the message is called a master. the devices that are controlled by the master are referred to as slaves. the bus must be controlled by a master device, which generates the serial clock (scl), controls the bus access, and generates the start and stop conditions. the ds1338 operates as a slave on the i 2 c bus. within the bus specifications, a standard mode (100khz maximum clock rate) and a fast mode (400khz maximum clock rate) are defined. the ds1338 works in both modes. connections to the bus are made through the open-drain i/o lines sda and scl. the following bus protocol has been defined ( figure 5 ). data transfer can be initiated only when the bus is not busy. during data transfer, the data line must remain stable whenever the clock line is high. changes in the data line while the clock line is high are interpreted as control signals. accordingly, the following bus conditions have been defined: bus not busy: both data and clock lines remain high. start data transfer: a change in the state of the data line, from high to low, while the clock is high, defines a start condition. stop data transfer: a change in the state of the data line, from low to high, while the clock line is high, defines the stop condition. data valid: the state of the data line represents valid data when, after a start condition, the data line is stable for the duration of the high peri od of the clock signal. the data on the line must be changed during the low period of the clock signal. there is one clock pulse per bit of data. each data transfer is initiated with a start condition and terminated with a stop condition. the number of data bytes transferred between start and stop conditions is not limited and is determined by the master device. the information is transferred byte-wise and each receiver acknowledges with a ninth bit. acknowledge: each receiving device, when addressed, is oblig ed to generate an acknowledge after the reception of each byte. the master device must generate an extra cloc k pulse that is associated with this acknowledge bit. a device that acknowledges must pull down the sda line during the acknowledge clock pulse in such a way that the sda line is stable low during the high period of t he acknowledge-related clock pulse. of course, setup and hold times must be taken into account. a master must si gnal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave. in this case, the slave must leave the data line high to enable the master to generate the stop condition. figure 5. data transfer on i 2 c serial bus
ds1338 i 2 c rtc with 56-byte nv ram 13 of 16 depending upon the state of the r/ w bit, two types of data transfer are possible: 1) data transfer from a master transmitter to a slave receiver. the master transmits the first byte (the slave address). next follows a number of data bytes. the sl ave returns an acknowledge bit after each received byte. data is transferred with the most significant bit (msb) first. 2) data transfer from a slave transmitter to a master receiver. the master transmits the first byte (the slave address). the slave then returns an acknowledge bit, which is followed by the slave transmitting a number of data bytes. the master returns an acknowledge bit after a ll received bytes other than the last byte. at the end of the last received byte, a ?not acknowledge? is retu rned. the master device generates all of the serial clock pulses and the start and stop conditions. a transfer is ended with a stop condition or with a repeated start condition. since a repeated start condition is also the beginning of the next serial transfer, the bus is not released. data is transferred with the most significant bit (msb) first. the ds1338 can operate in the following two modes: 1) slave receiver mode (write mode): serial data and clock are received through sda and scl. an acknowledge bit is transmitted after each byte is rece ived. start and stop conditions are recognized as the beginning and end of a serial transfer. hardware perfor ms address recognition after reception of the slave address and direction bit ( figure 6 ). the slave address byte is the first byte received after the master generates the start condition. the slave address byte contains the 7-bit ds1338 address?1101000? followed by the direction bit (r/ w ), which, for a write, is 0. after receiving and decoding the slave address byte, the slave outputs an acknowledge on the sda line. after the ds1338 acknowledges the slave address and write bit, the master transmits a register address to t he ds1338. this sets the register pointer on the ds1338, with ds1338 acknowledging the transfer. the master may then transmit zero or more bytes of data, with the ds1338 acknowledging each byte received. the register poi nter increments after each data byte is transferred. the master generates a stop condit ion to terminate the data write. 2) slave transmitter mode (read mode): the first byte is received and handled as in the slave receiver mode. however, in this mode, the direction bit indicates that the transfer direction is reversed. the ds1338 transmits serial data on sda while the serial clock is input on scl. start and stop conditions are recognized as the beginning and end of a serial transfer ( figure 7 ). the slave address byte is t he first byte received after the master generates the start condition. the slave address byte contains the 7-bit ds1338 address? 1101000?followed by the direction bit (r/ w ), which, for a read, is 1. a fter receiving and decoding the slave address byte, the slave out puts an acknowledge on the sda line. the ds1338 then starts transmitting data using the register address pointed to by the register pointer. if the register pointer is not set before the initiation of a read mode, the first address that is read is the last one stored in the register point er. the register pointer is incremented after each byte is transferred. the ds 1338 must receive a ?not acknowledge? to end a read.
ds1338 i 2 c rtc with 56-byte nv ram 14 of 16 figure 6. data write? slave receiver mode figure 7. data read (from current po inter location)?slave transmitter mode figure 8. data read (write pointer, then read?slave receive and transmit ... a xxxxxxxx a 1101000 s 1 xxxxxxxx a xxxxxxxx xxxxxxxx a p a s - start a - acknowledge (ack) p - stop a - not acknowledge (nack) data transferred (x+1 bytes + acknowledge) note: last data byte is followed by a nack master to slave slave to master ... a xxxxxxxx xxxxxxxx a xxxxxxxx a xxxxxxxx a p s - start sr - repeated start a - acknowledge (ack) p - stop a - not acknowledge (nack) data transferred (x+1 bytes + acknowledge) note: last data byte is followed by a nack a xxxxxxxx a 1101000 s 0 a 1101000 sr 1 master to slave slave to master ... a xxxxxxxx a s 0 xxxxxxxx a xxxxxxxx a xxxxxxxx a p s - start a - acknowledge (ack) p - stop data transferred (x+1 bytes + acknowledge) 1101000 master to slave slave to master
ds1338 i 2 c rtc with 56-byte nv ram 15 of 16 handling, pc board layout, and assembly the ds1338c package contains a quartz tuning-fork cr ystal. pick-and-place equipment may be used, but precautions should be taken to ensure that excessive sh ocks are avoided. ultrasonic cleaning should be avoided to prevent damage to the crystal. exposure to reflow is limited to 2 times maximum. avoid running signal traces under th e package, unless a ground plane is placed between the package and the signal line. all n.c. (no connect) pins must be connected to ground. the leaded 16-so package may be reflowed as long as the peak temperature does not exceed 240c. peak reflow temperature ( 230c) duration should not exce ed 10 seconds, and the total time above 200c should not exceed 40 seconds (30 seconds nominal). the rohs and lead-free/rohs packages may be reflowed us ing a reflow profile that complies with jedec j-std- 020. moisture-sensitive packages are shipped from the factory dry-packed. handling instructions listed on the package label must be followed to prevent damage during reflow . refer to the ipc/jedec j-std-020 standard for moisture- sensitive device (msd) classifications.
ds1338 i 2 c rtc with 56-byte nv ram 16 of 16 maxim/dallas semiconductor cannot assume res ponsibility for use of any circuitry other than circuitry entirely embodied in a ma xim/dallas semiconductor product. no circuit patent licenses are implied. maxi m/dallas semiconductor reserves the right to change the circuitry and specification s without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ? 2007 maxim integrated products the maxim logo is a registered trademark of maxim integrated produ cts, inc. the dallas logo is a registered trademark of dallas semiconductor corporation. pin configurations chip information transistor count: 12,231 process: cmos thermal information part theta-j a (c/w) theta-j c (c/w) 8 so 170 40 8 sop 229 39 16 so 73 23 package information for the latest package outline information, go to www.maxim-ic.com/dallaspackinfo . package type document number 8-pin so 56-g2008-001 8-pin sop 21-0036 16-pin so 56-g4009-001 so, sop sqw/out 1 2 3 4 8 7 6 5 x1 x2 v bat gnd v cc scl sda top view scl sda gnd v bat sqw/out v cc n.c. n.c. n.c. n.c. n.c. n.c. n.c. n.c. n.c. n.c. ds1338 c so (300 m ils) top view ds1338
e nglish ? ???? ? ??? ? ??? what's ne w p roducts solutions de sign ap p note s sup p ort buy comp any me mbe rs ds1338c part number table notes: see the ds1338c quickview data sheet for further information on this product family or download the ds1338c full data sheet (pdf, 804kb). 1. other options and links for purchasing parts are listed at: http://www.maxim-ic.com/sales . 2. didn't find what you need? ask our applications engineers. expert assistance in finding parts, usually within one business day. 3. part number suffixes: t or t&r = tape and reel; + = rohs/lead-free; # = rohs/lead-exempt. more: see full data sheet or part naming c onventions . 4. * some packages have variations, listed on the drawing. "pkgc ode/variation" tells which variation the product uses. 5. part number free sample buy direct package: type pins size drawing code/var * temp rohs/lead-free? materials analysis ds1338c -18 soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16-h2 * -40c to +85c rohs/lead-free: no materials analysis ds1338c -3 soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16-h2 * -40c to +85c rohs/lead-free: no materials analysis ds1338c -33 soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16-h2 * -40c to +85c rohs/lead-free: no materials analysis ds1338c -18# soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16#h2 * -40c to +85c rohs/lead-free: yes materials analysis ds1338c -3# soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16#h2 * -40c to +85c rohs/lead-free: yes materials analysis ds1338c -33# soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16#h2 * -40c to +85c rohs/lead-free: yes materials analysis ds1338c -33#t&r soic ;16 pin;300 dwg: 56-g4009-001b (pdf) use pkgcode/variation: w16#h2 * -40c to +85c rohs/lead-free: yes materials analysis didn't find what you need?
c ontac t us: send us an email c opyright 2 0 0 7 by m axim i ntegrated p roduc ts , dallas semic onduc tor ? legal n otic es ? p rivac y p olic y


▲Up To Search▲   

 
Price & Availability of DS1338U-33

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X